/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.cellstore.gui;

/**
 *
 * @author PPATOCHE
 */
public class PEstado extends javax.swing.JPanel {

    /**
     * Creates new form NewJPanel
     */
    public PEstado() {
        initComponents();
    }
    
    public void setUsuario(String usuario){
        lUsuario.setText("Usuario: "+usuario);
    }
    
    public void setOperacion(String operacion){
        lUsuario.setText("Operación: "+operacion);
    }
    
    public void setEstado(String estado){
        lUsuario.setText("Estado: "+estado);
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        lUsuario = new javax.swing.JLabel();
        lEstado = new javax.swing.JLabel();
        lOperacion = new javax.swing.JLabel();

        setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.LOWERED));
        setPreferredSize(new java.awt.Dimension(400, 20));
        setLayout(new java.awt.GridLayout(1, 3));

        lUsuario.setText("Usuario:");
        add(lUsuario);

        lEstado.setText("Estado:");
        add(lEstado);

        lOperacion.setText("Operación:");
        add(lOperacion);
    }// </editor-fold>//GEN-END:initComponents
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JLabel lEstado;
    private javax.swing.JLabel lOperacion;
    private javax.swing.JLabel lUsuario;
    // End of variables declaration//GEN-END:variables
}
